<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<form name=alipayment action="alipaySum" method=post target="_blank">
	<div id="body1" class="show" name="divcontent">
		<dl class="content">
			<dt>商户订单号 ：</dt>
			<dd>
				<input id="out_trade_no" name="out_trade_no" readonly/>
			</dd>
			<hr class="one_line">
			<dt>付款金额 ：</dt>
			<dd>
				<input id="total_amount" name="total_amount" readonly/>
			</dd>
			<hr class="one_line">
			<dt>商品信息：</dt>
			<dd>
				<input id="cus" name="cus" readonly/>
			</dd>
			<hr class="one_line">
			<dt></dt>
			<dd id="btn-dd">
				<span class="new-btn-login-sp">
					<button class="new-btn-login" type="submit"
						style="text-align: center;">付 款</button>
				</span> <span class="note-help">如果您点击“付款”按钮，即表示您同意该次的执行操作。</span>
			</dd>
		</dl>
	</div>
</form>
<script type="text/javascript">
	//自动生成订单号
	function GetDateNow() {
		var vNow = new Date();
		var sNow = "";
		sNow += String(vNow.getFullYear());
		sNow += String(vNow.getMonth() + 1);
		sNow += String(vNow.getDate());
		sNow += String(vNow.getHours());
		sNow += String(vNow.getMinutes());
		sNow += String(vNow.getSeconds());
		sNow += String(vNow.getMilliseconds());
		document.getElementById("out_trade_no").value =  sNow;
	}
	GetDateNow();	
</script>
